package org.jeecg.modules.hc.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 微信退款
 * @Author: jeecg-boot
 * @Date: 2023-01-09
 * @Version: V1.0
 */
@Data
@TableName("hc_wx_pay_refund")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "hc_wx_pay_refund对象", description = "微信退款")
public class HcWxPayRefund implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 用户ID
     */
    @Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private java.lang.String userId;
    /**
     * 商户订单号
     */
    @Excel(name = "商户订单号", width = 15)
    @ApiModelProperty(value = "商户订单号")
    private java.lang.String outTradeNo;
    /**
     * 商户退款单号
     */
    @Excel(name = "商户退款单号", width = 15)
    @ApiModelProperty(value = "商户退款单号")
    private java.lang.String outRefundNo;
    /**
     * 退款原因
     */
    @Excel(name = "退款原因", width = 15)
    @ApiModelProperty(value = "退款原因")
    private java.lang.String reason;
    /**
     * 退款金额，单位为分
     */
    @Excel(name = "退款金额，单位为分", width = 15)
    @ApiModelProperty(value = "退款金额，单位为分")
    private java.lang.Integer refund;
    /**
     * 通知地址
     */
    @Excel(name = "通知地址", width = 15)
    @ApiModelProperty(value = "通知地址")
    private java.lang.String notifyUrl;
    /**
     * 原订单金额，单位为分
     */
    @Excel(name = "原订单金额，单位为分", width = 15)
    @ApiModelProperty(value = "原订单金额，单位为分")
    private java.lang.Integer amountTotal;
    /**
     * 货币类型
     */
    @Excel(name = "货币类型", width = 15)
    @ApiModelProperty(value = "货币类型")
    private java.lang.String amountCurrency;
    /**
     * 微信支付退款单号
     */
    @Excel(name = "微信支付退款单号", width = 15)
    @ApiModelProperty(value = "微信支付退款单号")
    private java.lang.String refundId;
    /**
     * 退款渠道
     */
    @Excel(name = "退款渠道", width = 15)
    @ApiModelProperty(value = "退款渠道")
    private java.lang.String channel;
    /**
     * 退款状态
     */
    @Excel(name = "退款状态", width = 15)
    @ApiModelProperty(value = "退款状态")
    private java.lang.String status;
}
